<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入layui -->
    <link rel="stylesheet" href="./layui-v2.6.8/layui/css/layui.css">
    <style>
        .layui-layout-admin .layui-footer {
            left: 0;
        }

        .logo {
            width: 200px;
        }

        .fl {
            float: left;
        }
    </style>
</head>

<body>
    <!-- 主题 -->
    <div class="layui-layout-body">
        <div class="layui-layout layui-layout-admin">
            <!-- 头 -->
            <div class="layui-header layui-clear">
                <div class="logo fl">WeAdmin v1.6</div>
                <div class="left-open fl">---</div>
                <!-- 导航 -->
                <div class="left-nav fl">
                    <ul class="layui-nav">
                        <li class="layui-nav-item">
                            <!-- 空链接 # javascript:; -->
                            <a href="javascript:void(0);">解决方案</a>
                            <dl class="layui-nav-child">
                                <!-- 二级菜单 -->
                                <dd><a href="">移动模块</a></dd>
                                <dd><a href="">后台模版</a></dd>
                                <dd><a href="">电商平台</a></dd>
                            </dl>
                        </li>
                    </ul>
                </div>
            </div>

            <!-- 中间 -->
            <!-- 侧边 -->
            <div class="layui-side">侧边</div>
            <div class="layui-body">
                主题
            </div>
            <!-- 尾 -->
            <div class="layui-footer layui-bg-black">
                Copyright &copy;2018-2022 WeAdmin v1.6 All Rights Reserved
            </div>
        </div>
    </div>
    <!-- 引入layui的js库 -->
    <script src="./layui-v2.6.8/layui/layui.js"></script>
    <script>
        //注意：导航 依赖 element 模块，否则无法进行功能性操作
        layui.use('element', function () {
            var element = layui.element;

            //…
        });
    </script>
</body>

</html>